package com.xxtx.trade.sysUser.mapper;


import com.xxtx.trade.sysUser.bean.TradeRoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TradeRoleMenuMapper {
    int deleteByPrimaryKey(String id);

    int insert(TradeRoleMenu record);

    int insertSelective(TradeRoleMenu record);

    TradeRoleMenu selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(TradeRoleMenu record);

    int updateByPrimaryKey(TradeRoleMenu record);

    List<String> selectMenuByRoleId(String roleId);

    void deleteByRoleId(String id);

    Integer selectCountData(@Param("startTime") String startTime, @Param("endTime") String endTime);

    void insertIntoCount(@Param("count") Integer count, @Param("time") String time);
}